export const getSum = arr => {
    return arr.reduce((sum, val) => sum += val, 0)
}